package com.xnyzc.lhy.mis.entity.system;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 系统全局配置表
 *
 * @author cuixiaojian
 * @since 2019-10-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "OaSysGlobalConfig对象", description = "系统全局配置表")
public class OaSysGlobalConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "config_id", type = IdType.INPUT)
    private Long configId;

    @ApiModelProperty(value = "允许验证码错误次数")
    private Integer codeErrorCount;

    @ApiModelProperty(value = "验证码有效时长（秒）")
    private Integer codeValidTime;

    @ApiModelProperty(value = "紧急求助URL")
    private String emergencyHelpUrl;

    @ApiModelProperty(value = "多少公里内可以给司机派发订单（公里）")
    private Integer distributionRange;

    @ApiModelProperty(value = "支付详情页提示")
    private String payDetailPrompt;

    @ApiModelProperty(value = "用户导入模板文件id")
    private Long userImportFileId;

    @ApiModelProperty(value = "司机导入模板文件id")
    private Long driverImportFileId;

    @ApiModelProperty(value = "用户来源")
    private String tag;

    @ApiModelProperty(value = "扩展字段1")
    private String expand1;

    @ApiModelProperty(value = "扩展字段2")
    private String expand2;

    @ApiModelProperty(value = "扩展字段3")
    private String expand3;

    @ApiModelProperty(value = "版本号")
    @Version
    private Long version;

    @ApiModelProperty(value = "是否删除(0:否,1:是)")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "创建人")
    private Long createUser;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新人")
    private Long updateUser;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "大于多少公里派单给油车（公里）")
    private Integer sendGasolineCar;

    @ApiModelProperty(value = "高德猎鹰服务ID")
    private Integer gouldServiceId;

    @ApiModelProperty(value = "邀约次数限制")
    private Integer invitationNumber;

    @ApiModelProperty(value = "邀约未注册提示")
    private String invitationUnregisteredLabel;

    @ApiModelProperty(value = "邀约已注册提示")
    private String invitationRegisteredLabel;

    @ApiModelProperty(value = "散客机构ID")
    @TableField("Individual_officle_id")
    private Long individualOfficleId;

    @ApiModelProperty(value = "取消次数")
    private Integer cancelNumber;

    @ApiModelProperty(value = "等待超过多少分钟可以无责取消行程")
    private Integer waitingTime;

    @ApiModelProperty(value = "客服电话")
    private String servicePhone;

    @ApiModelProperty(value = "司机违规模板id")
    private String penaltyFileId;

    @ApiModelProperty(value = "司机处罚模板id")
    private String punishmentFileId;

    @ApiModelProperty(value = "账户调整模板id")
    private String accountAdjustmentFileId;

    @ApiModelProperty(value = "到达预约地点限制(米)")
    private Integer arriveSiteMeter;

    @ApiModelProperty(value = "车辆导入模板文件id")
    private Long vehicleImportFileId;

    @ApiModelProperty(value = "客服操作设置颜色")
    private String setColor;

    public static final String CONFIG_ID = "config_id";

    public static final String CODE_ERROR_COUNT = "code_error_count";

    public static final String CODE_VALID_TIME = "code_valid_time";

    public static final String EMERGENCY_HELP_URL = "emergency_help_url";

    public static final String DISTRIBUTION_RANGE = "distribution_range";

    public static final String PAY_DETAIL_PROMPT = "pay_detail_prompt";

    public static final String USER_IMPORT_FILE_ID = "user_import_file_id";

    public static final String DRIVER_IMPORT_FILE_ID = "driver_import_file_id";

    public static final String TAG = "tag";

    public static final String EXPAND1 = "expand1";

    public static final String EXPAND2 = "expand2";

    public static final String EXPAND3 = "expand3";

    public static final String VERSION = "version";

    public static final String DELETED = "deleted";

    public static final String CREATE_USER = "create_user";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_USER = "update_user";

    public static final String UPDATE_TIME = "update_time";

    public static final String SEND_GASOLINE_CAR = "send_gasoline_car";

    public static final String GOULD_SERVICE_ID = "gould_service_id";

    public static final String INVITATION_NUMBER = "invitation_number";

    public static final String INVITATION_UNREGISTERED_LABEL = "invitation_unregistered_label";

    public static final String INVITATION_REGISTERED_LABEL = "invitation_registered_label";

    public static final String INDIVIDUAL_OFFICLE_ID = "Individual_officle_id";

    public static final String CANCEL_NUMBER = "cancel_number";

    public static final String WAITING_TIME = "waiting_time";

    public static final String SERVICE_PHONE = "service_phone";

    public static final String PENALTY_FILE_ID = "penalty_file_id";

    public static final String PUNISHMENT_FILE_ID = "punishment_file_id";

    public static final String ACCOUNT_ADJUSTMENT_FILE_ID = "account_adjustment_file_id";

    public static final String ARRIVE_SITE_METER = "arrive_site_meter";

    public static final String VEHICLE_IMPORT_FILE_ID = "vehicle_import_file_id";

    public static final String SET_COLOR = "set_color";

}
